﻿<UserControl x:Class="VAdvantage.Apps.VGridPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="299" d:DesignWidth="435"  
             xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
             Loaded="UserControl_Loaded" xmlns:my="clr-namespace:VAdvantage.Controls" BorderBrush="Silver" BorderThickness="1" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">

    <Border BorderThickness="1" Grid.Row="1" Margin="0" Name="border1">
        <Grid x:Name="LayoutRoot" Background="White">
            <Grid.RowDefinitions>
                <RowDefinition Height="20" />
                <RowDefinition Height="279*" />
            </Grid.RowDefinitions>



            <!--<Border BorderThickness="1" Grid.Row="1" Margin="0" Name="border1">-->
                <Grid x:Name="ContentGrid" Margin="0,0,0,0" Grid.RowSpan="2" Grid.Row="1">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="174*"></RowDefinition>
                        <RowDefinition Height="20"></RowDefinition>
                    </Grid.RowDefinitions>


                    <Grid Grid.Row="1" Name="grid2" FlowDirection="LeftToRight" Background="White">
                        <my:VButton Height="13" HorizontalAlignment="Right" Margin="0,3,52,0" x:Name="btnNext" VerticalAlignment="Top" Width="13" BorderThickness="0" Padding="0" Click="bPrev_Click">
                            <Image Height="13" Name="image3" Stretch="Fill" VerticalAlignment="Top" Source="/VAdvantage;component/Images/panel_back.png" HorizontalAlignment="Right" Width="13" />
                        </my:VButton>

                        <sdk:Label Height="13" Margin="0,5,18,0" Content="" Name="lblPage" VerticalAlignment="Top" VerticalContentAlignment="Center" FontSize="9" FontFamily="Trebuchet MS" HorizontalAlignment="Right" Width="33" />

                        <my:VButton Height="13" Margin="0,3,4,0" x:Name="bPrev" VerticalAlignment="Top" Padding="0" BorderThickness="0" Click="bNext_Click" HorizontalAlignment="Right" Width="13">
                            <Image Height="13" Name="image4" Stretch="Fill" VerticalAlignment="Top" Source="/VAdvantage;component/Images/panel_next.png" HorizontalAlignment="Right" Width="13" />
                        </my:VButton>
                    </Grid>

                </Grid>

            <!--</Border>-->
            <Grid Name="canvas1" Grid.Row="0">
                <Button Height="13" x:Name="btnOption" VerticalAlignment="Top" BorderThickness="0" Padding="0" Margin="0,3,6,0" HorizontalAlignment="Right" Width="13" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}">
                    <Image Height="13" Name="imgOption" Stretch="Fill" VerticalAlignment="Top" Source="/VAdvantage;component/Images/panel_down.png" HorizontalAlignment="Right" Width="13" />
                </Button>
                <sdk:Label Height="16" HorizontalAlignment="Left" Margin="3,3,0,0" Name="lblHeader" VerticalAlignment="Top" FontWeight="Bold" Width="378" Content="" Foreground="#0a89ce" />
            </Grid>
        </Grid>

        <Border.BorderBrush>
            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                <GradientStop Color="Black" Offset="0" />
                <GradientStop Color="#FFD4D4D4" Offset="1" />
                <GradientStop Color="#FFB4B4B4" Offset="0" />
            </LinearGradientBrush>
        </Border.BorderBrush>
    </Border>
</UserControl>
